package org.kealinghornets.nxtdroid;

/**
 * Created by chuah on 12/3/14.
 */
public class MyDefensivePlay3 extends MyNXTThread {
    public MyDefensivePlay3() {
        setNXTThreadName("Defensive play 3 (The pink pearl) ");
    }


    public void run () {

        runMotor(PORT_A, 96);
        runMotor(PORT_B, 100);
        wait(2000);
        stopMotor(PORT_A);
        stopMotor(PORT_B);
        wait(20);
        stopMotor(PORT_B);
        runMotor(PORT_A);
        wait(1250);
        runMotor(PORT_A);
        runMotor(PORT_B);
        wait(2000);
        stopMotor(PORT_A);
        stopMotor(PORT_B);
        wait(20);
        stopMotor(PORT_A);
        runMotor(PORT_B);
        wait(1250);
        runMotor(PORT_A);
        runMotor(PORT_B);
        wait(5000);
        stopMotor(PORT_A);
        stopMotor(PORT_B);
        reset();

    }
}
